package steak.xteamy.client.VoiceChat;

import net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking;
import steak.xteamy.Network.Packets;
import steak.xteamy.client.KillerGroupClient;

public class Network {

    public static void networkHandler() {
        ClientPlayNetworking.registerGlobalReceiver(Packets.Channel.ID, (channel, context) -> KillerGroupClient.setChannelP(channel.channelP()));
    }
}
